<div class="pz-block pz-block-rss">
    {if $blockParams.displayFeedTitle}<div class="title"><a href="{$rss->getLink()}" title="{$rss->getTitle()}">{$rss->getTitle()}</a></div>{/if}
    {if $blockParams.displayFeedDescription}<div class="description">{$rss->getDescription()}</div>{/if}
    <div class="items">
    {foreach from=$rss->getItems($blockParams.itemsNumber) item=item name=rssitem key=key}
        <div class="item{if $key == 0} first{/if}">
            <div class="item-title"><a href="{$item->getLink()}" title="{$item->getTitle()}">{$item->getTitle()}</a></div>
            {if $blockParams.displayFeedItemsPubDate}<div class="item-date">{$item->getPubDateFormatted()} - {$item->getElapsedTime()}</div>{/if}
            {if $blockParams.displayFeedItemsDescription}<div class="item-description">{$item->getDescription()|truncate:250:" [...]"}</div>{/if}
        </div>
    {/foreach}
    </div>
</div>